<?php
global $scf_data;
if(extension_loaded("gd") && empty($scf_data)) {
    return [

        /*
        |--------------------------------------------------------------------------
        | Image Driver
        |--------------------------------------------------------------------------
        |
        | Intervention Image supports "GD Library" and "Imagick" to process images
        | internally. You may choose one of them according to your PHP
        | configuration. By default PHP's "GD Library" implementation is used.
        |
        | Supported: "gd", "imagick"
        |
        */

        'driver' => 'gd'

    ];
}else{
    return [

        /*
        |--------------------------------------------------------------------------
        | Image Driver
        |--------------------------------------------------------------------------
        |
        | Intervention Image supports "GD Library" and "Imagick" to process images
        | internally. You may choose one of them according to your PHP
        | configuration. By default PHP's "GD Library" implementation is used.
        |
        | Supported: "gd", "imagick"
        |
        */

        'driver' => 'imagick'

    ];
}
